package com.practice.pagehelper.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Description : user实体类
 * @Author : asus
 * @Version : xxx
 * @Date : 2021/6/8 22:41
 */
@Data
@Accessors(chain = true)
@Table(name = "t_user")
public class UserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private Integer id;

    @Column(name = "user_name")
    private String useName;

    private Integer sex;

    private Integer age;

    private String address;

    private String phone;
}
